package com.ybkj.daijia.server.service;

import com.ybkj.daijia.server.model.NoticeXPassenger;
import java.util.List;

/**
 * @author Shine
 */
public interface NoticeXPassengerService {

    /**
     * @param admin
     * @return
     */
    public NoticeXPassenger save(NoticeXPassenger noticeXPassenger);

    /**
     * 查询一条通知信息
     *
     * @param id
     * @return
     */
    public NoticeXPassenger findOne(Long id);


    public void delete(Long id);

    public NoticeXPassenger findByPassengerAndNotice(Long passengerId, Long noticeId);

    public void updateHasRead(Long id);

    public List<Long> selectNotReadNoticeIds(Long passengerId);

}
